<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2017/10/31
 * Time: 20:13
 */

namespace api\flower\service;


class CommonService
{
   function cmf_get_image_url($url){
       return 'http://'.$_SERVER['HTTP_HOST'].'/public/upload/'.$url;
   }
}